import React from 'react'
import Button from '@/components/Button'
import Icon from '@/components/Icon'

import { library } from '@fortawesome/fontawesome-svg-core'
import { fas } from '@fortawesome/free-solid-svg-icons'

library.add(fas)

const IndexPage: React.FC<unknown> = () => {
  return (
    <div>
      <Button>点击</Button>
      <Button btnType='primary' size='lg' className='klass' disabled>点击</Button>
      <Button btnType="link" href='https://www.baidu.com' target="_blank">www.baidu.com</Button>
      <Button btnType="link" href='https://www.baidu.com' disabled>www.baidu.com</Button>

      <Icon icon='coffee' theme="primary" size="2x"/>
    </div>
  );
}

export default IndexPage